Fatal error: Uncaught exception 'Exception' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and location LIKE '%"host":"pony"%' ORDER BY name ASC' at line 1
Error No: 1064
SELECT * FROM events where closed = 0 and type != 'S' and status = '1' and date_end >= '2024-11-19 00:00:00' AND ( ) and location LIKE '%"host":"pony"%' ORDER BY name ASC' in /var/www/b2b/system/library/db/mysqli.php on line 47 Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and location LIKE '%"host":"pony"%' ORDER BY name ASC' at line 1
Error No: 1064
SELECT * FROM events where closed = 0 and type != 'S' and status = '1' and date_end >= '2024-11-19 00:00:00' AND ( ) and location LIKE '%"host":"pony"%' ORDER BY name ASC in /var/www/b2b/system/library/db/mysqli.php on line 47 Call Stack: 0.0002 235560 1. {main}() /var/www/b2b/index.php:0 0.0018 353080 2. start() /var/www/b2b/index.php:45 0.0018 354664 3. require_once('/var/www/b2b/system/framework.php') /var/www/b2b/system/startup.php:130 0.0109 539720 4. Front->dispatch() /var/www/b2b/system/framework.php:116 0.0242 967744 5. Front->execute() /var/www/b2b/system/engine/front.php:28 0.0242 967744 6. Action->execute() /var/www/b2b/system/engine/front.php:33 0.0243 972536 7. call_user_func_array:{/var/www/b2b/system/engine/action.php:51}() /var/www/b2b/system/engine/action.php:51 0.0243 972968 8. ControllerStartupRouter->index() /var/www/b2b/system/engine/action.php:51 0.0246 973992 9. Action->execute() /var/www/b2b/catalog/controller/startup/router.php:36 0.0248 979624 10. call_user_func_array:{/var/www/b2b/system/engine/action.php:51}() /var/www/b2b/system/engine/action.php:51 0.0248 981160 11. ControllerStoreEducation->index() /var/www/b2b/system/engine/action.php:51 0.0276 1104912 12. Proxy->getEvents() /var/www/b2b/catalog/controller/store/education.php:34 0.0277 1105264 13. Proxy->__call() /var/www/b2b/catalog/controller/store/education.php:34 0.0277 1106408 14. call_user_func_array:{/var/www/b2b/system/engine/proxy.php:25}() /var/www/b2b/system/engine/proxy.php:25 0.0277 1107608 15. Loader->{closure:/var/www/b2b/system/engine/loader.php:149-193}() /var/www/b2b/system/engine/proxy.php:25 0.0278 1109200 16. call_user_func_array:{/var/www/b2b/system/engine/loader.php:180}() /var/www/b2b/system/engine/loader.php:180 0.0278 1109672 17. ModelEducationEvents->getEvents() /var/www/b2b/system/engine/loader.php:180 0.0286 1113232 18. DB->query() /var/www/b2b/catalog/model/education/events.php:652 0.0286 1113368 19. DB\MySQLi->query() /var/www/b2b/system/library/db.php:16